<template>
  <section class="webview fixHeight">
    <el-scrollbar style="height:100%">
      <el-form ref="form" :model="detail" label-width="100px" class="form">
        <el-form-item label="发布人">
          <el-input v-model="detail.userName" />
        </el-form-item>
        <el-form-item label="标题">
          <el-input v-model="detail.residentialName" />
        </el-form-item>
		 <el-form-item label="动态内容">
          <el-input  type="textarea" :rows="2" v-model="detail.content" />
        </el-form-item>
        <el-form-item>
          <el-button @click="cancel">返回</el-button>
        </el-form-item>
      </el-form>
    </el-scrollbar>
  </section>
</template>
<script>
  import { getHouResidentialDynamicDetail } from '@/api/api'
  export default {
    data() {
      return {
        fileList: [],
        enterpriseIdList:[],
        detail: {
          'account': '',
          'address': '',
          'enterpriseId': '',
          'license': '',
          'logo': '',
          'name': '',
          'serviceScope': '',
          'shopownerName': '',
          'shopownerPhone': ''
        }
      }
    },
    created() {
      if (this.$route.query.item) {
          this.detail = JSON.parse(this.$route.query.item)
       
      }
    },
    methods: {
      // 返回
      cancel() {
        this.$router.back()
      },
      vertify() {
        // if (Is.empty(this.detail.title)) {
        //   Is.tip('请输入标题')
        //   return false
        // }
        return true
      }
    }}
</script>
